package com.lanou.test.mapper;

import com.lanou.test.bean.Role;
import com.lanou.test.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper {

    public List<Role> selectRolesByUser(@Param("user")User user);

}
